package com.jy.rhin.infra.cda.zyzy;

import com.jy.common.StringUtil;
import com.jy.rhin.model.CodeObject;
import com.jy.rhin.model.body.shiyanshijiancha.ShiYanShiJCJY;
import lombok.Data;

/**
 * @author dhl
 * @date 2023/2/14
 * @Description
 */
@Data
public class JianYanInfoVo {
    public ShiYanShiJCJY zhuYuanJianYanVo() {
        ShiYanShiJCJY item = new ShiYanShiJCJY();
        item.setXiangMuDM(!StringUtil.isNullOrWhiteSpace(this.jianYanXMDM) && this.jianYanXMDM.length() > 20 ? this.jianYanXMDM.substring(0, 20) : this.jianYanXMDM);
        item.setXiangMuMC(this.jianYanXMMC);
        item.setJieGuoDM(new CodeObject(this.getJieGuoDM(), this.getJieGuoMC()));
        return item;
    }

    /**
     * 就诊流水号
     */
    private String jiuZhenLSH;
    /**
     * 检验报告id
     */
    private String jianYanBGID;
    /**
     * 检验项目代码
     */
    private String jianYanXMDM;
    /**
     * 检验项目名称
     */
    private String jianYanXMMC;
    /**
     * 检验结果
     */
    private String jianYanJG;
    /**
     * 检验结果异常标识
     */
    private String jianYanJGYCBZ;
    private String jieGuoDM;
    private String jieGuoMC;


}
